package cn.js.sangu.unitStore.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

//@Configuration
@Component
@ConfigurationProperties(prefix = "myapp")
@Data
public class MyAppConfig {

    private Boolean portMapping;
    private String ip;
    private String mappingIp;
    private String filePath;
    private String defaultPwd;
    private String http;
    private String https;
    private Integer httpPort;
    private Integer httpsPort;
}
